how to determine the elasticity of demand